import { IndexDBDatabase } from './IndexDBDatabase'

/**表 */
export const dbTabelNames = ['serverList', 'projectList', 'deployRecords']

/**数据库 */
export const database = new IndexDBDatabase('database', dbTabelNames, 1)
/**服务器管理 */
export const serversStore = database.getObjectStore('serverList')
/**项目管理 */
export const projectsStore = database.getObjectStore('projectList')
/**部署记录 */
export const deployRecordsStore = database.getObjectStore('deployRecords')
